home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility1 / gs261src.zip / GSCONFIG.H < prev    next >
C/C++ Source or Header  |  1993-05-13  |  2KB  |  72 lines

  1. /* Copyright (C) 1989, 1992, 1993 Aladdin Enterprises.  All rights reserved.
  2.  
  3. This file is part of Ghostscript.
  4.  
  5. Ghostscript is distributed in the hope that it will be useful, but
  6. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  7. to anyone for the consequences of using it or for whether it serves any
  8. particular purpose or works at all, unless he says so in writing.  Refer
  9. to the Ghostscript General Public License for full details.
  10.  
  11. Everyone is granted permission to copy, modify and redistribute
  12. Ghostscript, but only under the conditions described in the Ghostscript
  13. General Public License.  A copy of this license is supposed to have been
  14. given to you along with Ghostscript so you can know your rights and
  15. responsibilities.  It should be in a file named COPYING.  Among other
  16. things, the copyright notice and this notice must be preserved on all
  17. copies.  */
  18.  
  19. /* gsconfig.h */
  20. /* Prologue for gconfig.h */
  21.  
  22. /*
  23.  * The Ghostscript makefile generates the file gconfig.h, which consists of
  24.  * lines of the form
  25.  *    device__(gs_xxx_device)
  26.  * for each installed device;
  27.  *    file_device__(gs_fdev_xxx)
  28.  * for each available file device (e.g., pipe);
  29.  *    oper__(xxx_op_defs)
  30.  * for each Level 1 operator option;
  31.  *    oper2__(xxx_op_defs)
  32.  * for each Level 2 operator option;
  33.  *    psfile__("gs_xxxx.ps")
  34.  * for each optional initialization file.
  35.  *
  36.  * We include this file multiple times to generate various different
  37.  * source structures.  (It's a hack, but we haven't come up with anything
  38.  * more satisfactory.)
  39.  */
  40.  
  41. /* Handle undefined initializer types. */
  42. #undef device__
  43. #ifdef device_
  44. #  define device__(dev) device_(dev)
  45. #else
  46. #  define device__(dev) /* */
  47. #endif
  48. #undef file_device__
  49. #ifdef file_device_
  50. #  define file_device__(fdev) file_device_(fdev)
  51. #else
  52. #  define file_device__(fdev) /* */
  53. #endif
  54. #undef oper__
  55. #ifdef oper_
  56. #  define oper__(defs) oper_(defs)
  57. #else
  58. #  define oper__(defs) /* */
  59. #endif
  60. #undef oper2__
  61. #ifdef oper2_
  62. #  define oper2__(defs) oper2_(defs)
  63. #else
  64. #  define oper2__(defs) /* */
  65. #endif
  66. #undef psfile__
  67. #ifdef psfile_
  68. #  define psfile__(fname) psfile_(fname)
  69. #else
  70. #  define psfile__(fname) /* */
  71. #endif
  72.